Skip to content

arm64: add CCA policy and VP context support#106

Merged
chris-oo merged 3 commits into
microsoft:mainfrom
jiong-microsoft:arm64-cca
Jun 4, 2026
Merged

arm64: add CCA policy and VP context support#106
chris-oo merged 3 commits into
microsoft:mainfrom
jiong-microsoft:arm64-cca

Conversation

@jiong-microsoft

@jiong-microsoft jiong-microsoft commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Add Arm CCA as a supported AArch64 isolation platform and define the
corresponding IGVM policy and VP context wire formats.

Introduce IGVM_VHT_CCA_POLICY, IGVM_VHS_CCA_POLICY, CCA policy attribute
bits, hash algorithm and LFA policy enums, and the AArch64 CCA VP context
structure. Add parser, serializer, merge-mask fixup, and validation support
for CCA policy headers, including reserved-field checks, ones/zeroes mask
conflict detection, and validation that CCA policy compatibility masks refer
to CCA platform headers.

Add AArch64 CCA VP context directive handling and round-trip tests for CCA
IGVM files. Expose the new CCA definitions through cbindgen and add the C API
error mapping for invalid CCA policy compatibility masks.

@jiong-microsoft jiong-microsoft requested a review from a team as a code owner March 3, 2026 09:51

@chris-oo chris-oo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to have more links to the corresponding ARM specification for each header?

Comment thread igvm_defs/src/lib.rs
Comment thread igvm_defs/src/lib.rs Outdated
Comment thread igvm_defs/src/lib.rs Outdated
@jiong-microsoft jiong-microsoft changed the title arm64: initial support for CCA in specification and parser arm64: add CCA policy and VP context support May 29, 2026
Jiong Wang (Arm Ltd) and others added 3 commits June 4, 2026 11:23
Add Arm CCA as a supported AArch64 isolation platform and define the
corresponding IGVM policy and VP context wire formats.

Introduce IGVM_VHT_CCA_POLICY, IGVM_VHS_CCA_POLICY, CCA policy attribute
bits, hash algorithm and LFA policy enums, and the AArch64 CCA VP context
structure. Add parser, serializer, merge-mask fixup, and validation support
for CCA policy headers, including reserved-field checks, ones/zeroes mask
conflict detection, and validation that CCA policy compatibility masks refer
to CCA platform headers.

Add AArch64 CCA VP context directive handling and round-trip tests for CCA
IGVM files. Expose the new CCA definitions through cbindgen and add the C API
error mapping for invalid CCA policy compatibility masks.
@chris-oo chris-oo merged commit 35facfb into microsoft:main Jun 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants